package com.example.day_day_up.enums;

public enum OperateEnum {
    ADD(0, "添加用户"),
    DELETE(1, "删除用户"),
    UPDATE(2, "更新用户"),
    GET(3, "获取用户"),
    GET_LIST(4, "获取用户列表");

    private int code;

    private String msg;

    OperateEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }
}
